﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Labours
{
    class Labours
    {
        static void Main(string[] args)
        {
            List<Worker> workers = new List<Worker>()
           {
                new Worker("Ivan", "Ivanov", 2001, 5),
                new Worker("Stoqn", "ivanov", 4141, 4),
                new Worker("James", "Hetfield", 5454, 6),
                new Worker("Forza", "Milan", 3222, 5),
                new Worker("ivan", "ivanov", 2131, 2),
                new Worker("Doncho", "Minkov", 2121, 4),
                new Worker("Kirk", "Hammet", 4114, 6),
                new Worker("ivan", "Petkanov", 5454, 1),
                new Worker("Frank", "Zappa", 5554, 4),
                new Worker("Fedor", "Emelianenko", 3213, 2),
                new Worker("Joey", "Jordison", 13123, 5)
           };

            foreach (var worker in workers)
            {
                Console.WriteLine("{0} {1} - money per hour: {2}", worker.FirstName, worker.LastName, worker.MoneyPerHour());
            }

        }
    }
}
